package elms

import (
	"gopkg.in/mgo.v2/bson"
	"strings"
)

func DbName(oid bson.ObjectId) string {
	if oid.Hex() == "0000000000000000000abcde" {
		return "ABCDE_db"
	} else {
		return strings.ToUpper(oid.Hex()) + "_db"
	}
}
